

  	<#include "../include/comm_jlb_macro.ftl"/>
<html>
	<head>
	<title></title>
	<@gmc_common_js "select" />
</head>
	<body>
	<div class="right">
    <div class="location">
     <div class="location01">您现在的位置是：首页 &gt; <span id='zeroLevel'></span> &gt;<strong class="m_title"></strong></div>
    </div>
    <div class="sort">
     <div class="query">
  	
	<form id="queryForm" >
	<ul>
			 <li style="width:28%">
		       	<span class="classify">姓名：</span>
		    	<input name="realName" type="text"   class="input"  id="realName" value="${realName!''}"/>
		      </li>
		       <li style="width:28%">
		       	<span class="classify">群号：</span>
		    	<input name="groupNumber" type="text"   class="input"  id="groupNumber" value="${groupNumber!''}"/>
		      </li>
		       <li style="width:28%">
		       	<span class="classify">群名称：</span>
		    	<input name="groupName" type="text"   class="input"  id="groupName" value="${groupName!''}"/>
		       </li>
			       <li style="width:28%">
			       	<span class="classify">群分类：</span>
			    	<select id="category" name="category" width="200">
			    		<option value="" > 请选择 </option>
			    		    <#list DictionaryUtil.getTypes(DictionaryType.JOB_POSITION.getCode()) as c>
			    		 		 <option value="${c.dictionaryId}" <#if  category?? && category!="" > <#if category=='${c.dictionaryId}'> selected </#if> </#if>  > ${c.showName!''} </option>
			 			 	</#list>
			    	</select>
			       </li>
			       <li style="width:28%">
			       	<span class="classify">添加状态：</span>
			    	<select id="addStatus" name="addStatus">
			    		 <option value="" > 请选择 </option>
			    		    <#list JoinStatus.values() as c>
			    		 		 <option value="${c.code}" <#if addStatus?? && addStatus!="" > <#if addStatus=='${c.code}'> selected </#if> </#if>  > ${c.title!''} </option>
			 			 	</#list>
			    	</select>
			       </li>
			       <li style="width:28%">
			       	<span class="classify">被踢状态：</span>
			    	<select id="isKick" name="isKick">
			    		<option value="" > 请选择 </option>
			    		    <#list KickStatus.values() as c>
			    		 		 <option value="${c.code}" <#if isKick?? && isKick!="" > <#if isKick=='${c.code}'> selected </#if> </#if>  > ${c.title!''} </option>
			 			 	</#list>
			    	</select>
			       </li>
			        <li style="width:70%">
			       	<span class="classify">导入状态：</span>
			    	<select id="importStatus" name="importStatus">
			    		 <option value="" > 请选择 </option>
			    		    <#list ImportStatus.values() as c>
			    		 		 <option value="${c.code}" <#if importStatus?? && importStatus!="" > <#if importStatus=='${c.code}'> selected </#if> </#if>  > ${c.title!''} </option>
			 			 	</#list>
			    	</select>
			       </li>
		    <li style="width:5%"><a href="javascript:void(0)">
  		 		<button type="button" class="btn btn-default" id="queryBtn" >查&nbsp;询</button>
       		</li>
      </ul>
      
  </form>
     </div>
    </div>
    <div class="form">
     <div class="form2">
     
<table width="100%"  border="1" align="left" cellpadding="0" cellspacing="0" bordercolor="#ffffff" style="border-collapse:collapse">
      <tr class="lan">
      	<td height="37" align="center" valign="middle" background="/images/erji_22.jpg"><strong>序号</strong></td>
        <td height="37" align="center" valign="middle" background="/images/erji_22.jpg"><strong>姓名（用户名）</strong></td>
        <td height="37" align="center" valign="middle" background="/images/erji_22.jpg"><strong>群号</strong></td>
        <td height="37" align="center" valign="middle" background="/images/erji_22.jpg"><strong>群名称</strong></td>
        <td height="37" align="center" valign="middle" background="/images/erji_22.jpg"><strong>群分类</strong></td>
        <td height="37" align="center" valign="middle" background="/images/erji_22.jpg"><strong>添加状态</strong></td>
        <td height="37" align="center" valign="middle" background="/images/erji_22.jpg"><strong>导入状态</strong></td>
        <td height="37" align="center" valign="middle" background="/images/erji_22.jpg"><strong>被踢状态</strong></td>
        <td height="37" align="center" valign="middle" background="/images/erji_22.jpg"><strong>成员数量</strong></td>
        <td height="37" align="center" valign="middle" background="/images/erji_22.jpg"><strong>更新时间</strong></td>
        <td height="37" align="center" valign="middle" background="/images/erji_22.jpg"><strong>操 作</strong></td>
       </tr>
       <#assign item = 1>
       <#list pager.data as c>
       <tr>
       	  <td align="center" class="hui">${item}</td>
	 	  <td align="center" class="hui">
	 	  	${c.realName!''}（${c.username!''}）
	 	   </td>
	 	  <td align="center" class="hui">
		 	  ${c.groupNumber!''}
	 	   </td>
	 	    <td align="center" class="hui">
		 	  ${c.groupName!''}
	 	   </td>
	 	    <td align="center" class="hui">
		 	  ${DictionaryUtil.getName(DictionaryType.JOB_POSITION.getCode(), c.category)}
	 	   </td>
		  <td align="center" class="hui">${c.addStatusName!''}</td>
		   <td align="center" class="hui">${c.importStatusName!''}</td>
		    <td align="center" class="hui">${c.kickStatusName!''}</td>
		     <td align="center" class="hui">${c.qqMemberCount!'0'}</td>
		 <td align="center" class="hui">
    			 <#if c.updateTime??>
	        	 	 ${c.updateTime?string("yyyy-MM-dd")}
	 		 	 </#if>
	 	 </td>
        
		 <td align="center" class="hui" style="width:220px;"  >
	       		<div class="btn-group">
      			<#if subject.isPermitted("accountExpandInfo:detail")>   <#--weiAccountQqGroup:detail  -->
				  <button type="button" class="btn btn-default"  onclick="weiAccountQqGroup.toDetail('${c.id}')">详情</button>
				 </#if>
				 
      			<#if subject.isPermitted("accountExpandInfo:detail")>  <#--weiAccountQqGroup:edit  -->
				  <button type="button" class="btn btn-default"  onclick="weiAccountQqGroup.toMembers('${c.groupId}')">查看群成员</button>
				 </#if>
				 
				  <button type="button" class="btn btn-default"  onclick="weiAccountQqGroup.toDelete('${c.id}')">收回</button>
	      		</div>
        </td>
       </tr>
       <#assign item = item + 1>
       </#list>
       <tr>
     	 <td colspan="10" valign="middle" class="d">
     	 
      			<#if subject.isPermitted("accountExpandInfo:detail")>  <#--weiAccountQqGroup:delete  -->
     	 	 <div class="btn-group" style="display:none;">
			   <button type="button" class="btn btn-default"  onclick="javascipt:void(0);">删除</button>
      	 	 </div>
				</#if>
     	 	
     	 </td>
       </tr>
      </table>
     
     </div>
     <@pageBar   pager=pager url="/weiAccountQqGroup/list.action?jsonParam=${jsonParam!''}" join="&"> </@pageBar> 
    
    </div>
   </div>
  <!-- 弹窗 结束 -->
	<#include "../include/deleteConfirmModal.ftl">
    <script src="/js/weiAccountQqGroup.js"></script>
    <script>
		weiAccountQqGroup.initPage();
	</script>
</html>



